<template>
    <div>{{title}}
      <button @click="increment">+1</button>
      <div>counter</div>
    </div>
</template>

<script>
export default {
  props: {
    message: String
  },
  // setup(props, context) {
  setup() {
    const increment = () => {
      console.log('increment')
    }
    return {
      title:'title',
      increment,
      counter: 100
    }
  },
  data() {
    return {
      title: 'options'
    }
  },
}
</script>

<style>

</style>